package com.yourenbang.transaction.api.model.dto.ticket;

import com.yourenbang.lingyun.constants.enums.ChannelIdEnums;
import com.yourenbang.lingyun.constants.enums.PlatNoEnums;
import com.yourenbang.lingyun.core.base.validator.EnumValue;
import com.yourenbang.lingyun.core.util.json.ToJSON;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description 盟友激活增加积分券
 * @Date 2021/4/25 16:41
 * @Created by Jason
 */
@Data
public class AddTicketDTO implements Serializable, ToJSON {

    /**
     * 来源用户
     */
    private String userBaseId;
    private String terminalSn;
    /**
     * 归属用户
     */
    private String toUserBaseId;

    @EnumValue(enumClass= ChannelIdEnums.class, message = "产品类型未通过校验")
    private Short channelId;

    @EnumValue(enumClass= PlatNoEnums.class, message = "系统类型未通过校验")
    private Short platNo;

}
